package com.pointmi.model;

import java.util.Date;

import javax.validation.constraints.NotNull;

public class OrderModel {
	
	@NotNull(message="Order Id cannot be null")
	private String orderId;
		
	@NotNull(message="Customer Id cannot be null")
	private int customerId;
	
	@NotNull(message="Date of Order cannot be null")
	private Date orderDate;

	private String status;
		
	private String comments;
		
	private String authcode;
		
	private String reference;
		
	private int deliveryId;
	
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public int getCustomerId() {
		return customerId;
	}

	public void setCustomerId(int customerId) {
		this.customerId = customerId;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getAuthcode() {
		return authcode;
	}

	public void setAuthcode(String authcode) {
		this.authcode = authcode;
	}

	public String getReference() {
		return reference;
	}

	public void setReference(String reference) {
		this.reference = reference;
	}

	public int getDeliveryId() {
		return deliveryId;
	}

	public void setDeliveryId(int deliveryId) {
		this.deliveryId = deliveryId;
	} 
	
}
